<!--
 * @Author: your name
 * @Date: 2021-08-19 15:16:32
 * @LastEditTime: 2021-08-19 15:19:50
 * @LastEditors: Please set LastEditors
 * @Description: vertical
 * @FilePath: \代码\day04\2-vertical.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vertical</title>
    <style>
        .one {
            background-color: mediumseagreen;
            color: #fff;
            height: 100px;
            text-align: center;
            line-height: 100px;
        }
    </style>
</head>
<body>
    <div class="one">hello world</div>
</body>
</html>
